package com.aspose.cells;

class zlr extends zlq implements zagj {
   public zlr(zaay var1) {
      super(var1);
   }

   public zagi a(zaay var1) {
      return new zlr(var1 == null ? this.a : var1);
   }

   public void c() {
      this.b = true;
      this.d = 1.0D;
   }

   public boolean a(int var1, zagu var2) {
      var2 = var2.e(this.a);
      if (var2.b() == 0) {
         this.c = var1;
         this.e = var2;
         return true;
      } else {
         if (this.b) {
            if (var2.b() == 3) {
               if (((zyy)var2).m()) {
                  this.b = false;
               } else {
                  this.d *= ((zyy)var2).k();
               }
            } else {
               this.b = false;
            }
         }

         return false;
      }
   }

   public zagu d() {
      return this.b ? new zyy(this.d) : zyy.a;
   }

   public zagu b(boolean var1) {
      return this.b ? new zyy(this.d) : zyy.a;
   }
}
